<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<%@ include file="../../common/headConfig.jsp"%>
	<link rel="stylesheet" href="css/vehicleGroup.css" />
	<script type="text/javascript" src="js/deviceManagement/policeVehicle.js"></script>
	
	<script>
		rivmsMenuActive = "rivms_DeviceManagement";
		 $(document).ready(function() {
		 	$( "button" ).button();
		 	ajaxFindPoliceVehicleSearchList(); 
		 });
		
	</script>
</head>
<body>
	<div id="rvimsContent">
		<%@ include file="../../common/header.jsp"%>
		<div id="rvimsMain">
			<div style="width: 100%;">
				<div class="crumbbox">当前位置：设备管理&gt;&gt;<font color="red">警用装备管理&gt;&gt;<font color="red">警车管理</font></font></div>
				<div class="buttonbox">
					<button onclick="ajaxShowPoliceVehicleEdit(null);return false;">新增</button>
					<button onclick="ajaxDeletePoliceVehicleById(null)">删除</button>
				</div>
				<div id="sltPoliceVehicle"  class="searchbox">
					<table style="background-color: #3BAAE3;width: 100%;min-width:950px;" cellspacing="0" cellpadding="0">
						<tr>
							<td align="right">号牌种类：</td>
							<td>
								<select id="plateType">
									<option value="">---请选择---</option>
									<c:forEach items="${lstDeviceType}" var="deviceType">
										<option value="${deviceType.id }">${deviceType.name }</option>
									</c:forEach>
								</select>
							</td>
							<td align="right">车辆种类：</td>
							<td>
								<select id="vehicleType">
									<option value="">---请选择---</option>
									<c:forEach items="${lstDeviceType}" var="deviceType">
										<option value="${deviceType.id }">${deviceType.name }</option>
									</c:forEach>
								</select>
							</td>
							<td>
								<button onclick="ajaxFindPoliceVehicleSearchList()">查询</button>
							</td>
						</tr>
						<tr>
							<td align="right">号牌号码：</td>
							<td><input type="text" id="plateCode"></td>
							<td align="right">所属单位：</td>
							<td>
								<select id="ownedOrganization">
									<option value="">---请选择---</option>
									<c:forEach items="${lstOwnerSystem}" var="ownerSystem">
										<option value="${ownerSystem.id }">${ownerSystem.name }</option>
									</c:forEach>
								</select>
							</td>
							<td>
								<button onclick="clearInput('#sltPoliceVehicle')">重置</button>
							</td>
						</tr>
					</table>
				</div>
				<form id="fmPoliceVehicle" method="post"><input type="hidden" id="policeVehicleId" name="policeVehicleId"></form>
				<div id="listPoliceVehicleBox" style="width: 100%;"></div>
			</div>
		</div>
		<%@ include file="../../common/footer.jsp"%>
	</div>
</body>
</html>